package com.neusoft.nepm.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.neusoft.nepm.po.Admins;
import com.neusoft.nepm.service.IAdminsService;

@RestController
@RequestMapping("/admins")
public class AdminsController {

	@Autowired
	private IAdminsService adminsService;
	
	@RequestMapping("/getAdminsByCodeByPass")
	public Admins getAdminsByCodeByPass(@RequestBody Admins admins) {
		return adminsService.getAdminsByCodeByPass(admins);
	}
}
